Motion.SetVirtualAxis method
Assigns the signals to link a simulated axis with real hardware.
Namespace: IntervalZero.KINGSTAR.OpcUa.Api
Assembly: IntervalZero.KINGSTAR.OpcUa.Api (in IntervalZero.KINGSTAR.OpcUa.Client.dll) Version: 4.4.0.0
Syntax
public KsError SetVirtualAxis(
int Index,
McVirtualAxis Axis
)
Public Function SetVirtualAxis(
Index As Integer,
Axis As McVirtualAxis
) As KsError
Parameters
Index
Type: int
The index of an axis. Indexes are zero based. Aliases affect this parameter.
Axis
Type: McVirtualAxis
The list of signals.
Return value
Type: KsError
A return code of a method.
Remarks
This method has two features:
-
A simulated axis can be added after the KINGSTAR Subsystem is started by calling ConfigureAxis with Index = ServoCount.
- Linking a simulated axis to I/O signals allows the control of other devices. For example, a non-EtherCAT axis, a force control module, or a hydro control valve.
Examples
N/A
See also